import type { UploadData } from "@/types/common"
import { myRequest } from "@/utils/reuqest"

export const uploadAPI = (data: FormData) =>{
    return myRequest<UploadData>('/upload', 'POST', data)
}